RotateAnimation
declare class RotateAnimation {}
RotateAnimation
Instance Method
constructor
Signature
declare class RotateAnimation {
constructor(fromDegrees: number, toDegrees: number)
}
Description
Constructor to use when building a RotateAnimation from code.
constructor
Signature
declare class RotateAnimation {
constructor(fromDegrees: number, toDegrees: number, pivotX: number, pivotY: number)
}
Description
Constructor to use when building a RotateAnimation from code
constructor
Signature
declare class RotateAnimation {
constructor(fromDegrees: number, toDegrees: number, pivotXType: number, pivotXValue: number, pivotYType: number, pivotYValue: number)
}
Description
Constructor to use when building a RotateAnimation from code
applyTransformation
Signature
declare class RotateAnimation {
applyTransformation(interpolatedTime: number, t: Transformation): void
}
Description
Helper for getTransformation.
initialize
Signature
declare class RotateAnimation {
initialize(width: number, height: number, parentWidth: number, parentHeight: number): void
}
Description
Initialize this animation with the dimensions of the object being animated as well as the objects parents.